Retrieve Certificate Information

To retrieve existing certificate information, use arguments from the table below.

Argument

Description

Possible Values

--address

Address of the MFP (required)

 

--deviceuser

The account to use for authenticating into the device (required)

 

--devicepassword

The password of the account for authenticating into the device

 

--onlyssl

Allow only an SSL connection to the device.

  • If false: Certificate Management Tool will attempt to connect using SSL and if a connection cannot be made, it will attempt a non-SSL connection. Certificate Management Tool will not validate certificates when communicating via SSL.

  • If true: Certificate Management Tool will only attempt to connect using SSL. To connect to a device, it must already have been configured with a certificate for SSL communications.

true, false (default: false)

--certvalidation

Used only when “onlyssl” is set to true. If “certvalidation” is also set to true, a connection to the device will only be established if the SSL certificate can be validated as a trusted certificate. Trusted Root Certificates are managed through the built-in Windows Certificate Management.

true, false (default: false)

When certificates are retrieved from the device, it will output all information to standard output with one line per item. Each of the 6 certificates will have the following format.

If a line item is empty, it means there is no certificate/intermediate certificate for the slot.

  • Certificate: This is the certificate slot number (1-6)
  • Common Name: The common name defined in the certificate.
  • Organization: The organization defined in the certificate.
  • Organizational Unit: The organizational unit defined in the certificate
  • Email Address: The email address defined in the certificate.
  • City: The city defined in the certificate.
  • State: The state defined in the certificate.
  • Country: The country defined in the certificate.
  • Issuer: The issuer of the certificate.
  • Serial Number: The serial number of the certificate.
  • Fingerprint: The fingerprint of the certificate.
  • Version: The version of the certificate.
  • Start Date: The start date of the certificate. This will be in the format YYYY-MM-DDTHH:MM:SSZ in UTC. (e.g. 2021-03-03T15:10:12Z)
  • End Date: The end date of the certificate. This will be in the format YYYY-MM-DDTHH:MM:SSZ in UTC (e.g. 2023-03-03T15:10:12Z)
  • Signature Algorithm: The signature algorithm of the certificate. Possible values: sha512WithRSAEncryption, sha256WithRSAEncryption, sha1WithRSAEncryption
  • Key Length: The key length of the certificate.
  • Intermediate Common Name: The common name defined in the intermediate certificate.
  • Intermediate Organization: The organization defined in the intermediate certificate.
  • Intermediate Organizational Unit: The organizational unit defined in the intermediate certificate.
  • Intermediate Email Address: The email address defined in the intermediate certificate.
  • Intermediate City: The city defined in the intermediate certificate.
  • Intermediate State: The state defined in the intermediate certificate.
  • Intermediate Country: The country defined in the intermediate certificate.
  • Intermediate Issuer: The issuer of the intermediate certificate.
  • Intermediate Serial Number: The serial number of the intermediate certificate.
  • Intermediate Version: The version of the intermediate certificate.
  • Intermediate Start Date: The start date of the intermediate certificate.
  • Intermediate End Date: The end date of the intermediate certificate.
  • Intermediate Signature Algorithm: The signature algorithm of the intermediate certificate. Possible values: sha512WithRSAEncryption, sha256WithRSAEncryption, sha1WithRSAEncryption
  • Intermediate Key Length: The key length of the intermediate certificate.